//
//  SYLonginTableViewCell.m
//  BSHOUYIFANG
//
//  Created by lanou3g on 15/8/15.
//  Copyright (c) 2015年 CYB. All rights reserved.
//

#import "SYLonginTableViewCell.h"
#import "Header.h"
#import "SYFileHandle.h"
@implementation SYLonginTableViewCell

-(instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier
{
    self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
    if (self) {
        _titleImageView = [[UIImageView alloc] initWithFrame:CGRectMake(10, 10, SCREEN_WIDTH/4.5, SCREEN_WIDTH/4.5)];
        _titleImageView.center = CGPointMake(SCREEN_WIDTH/7, SCREEN_WIDTH/7);
        _titleImageView.image = [UIImage imageNamed:@"circle_default_face@2x.png"];
        _titleImageView.layer.cornerRadius = (SCREEN_WIDTH/4.5)/2;
        _titleImageView.layer.masksToBounds = YES;
        
        _titleLabel = [[UILabel alloc] initWithFrame:CGRectMake(15+SCREEN_WIDTH/4.5,(SCREEN_WIDTH/4.5)/2-5, 200, 30)];
        _titleLabel.text = @"登陆";
        
        self.accessoryType =1;
    
        [self.contentView addSubview:_titleImageView];
        [self.contentView addSubview:_titleLabel];
    }
    return self;
}

- (void)awakeFromNib {
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
